//
// Created by caedmon on 2017/12/13 0013.
//

#include <stdio.h>

void sort(int arr[], int arrLength){
    double temp;

    for(int i = 0; i < arrLength; i++){
        for(int k = i + 1; k < arrLength; k++){
            if(arr[i] < arr[k]){
                temp = arr[k];
                arr[k] = arr[i];
                arr[i] = temp;
            }
        }
    }

    for(int j = 0; j < arrLength; j++){
        printf("%d  ,  ", arr[j]);
    }
    printf("\n");
}